package com.gold.model;

import java.math.BigDecimal;

public class Gold {
    private Integer gId;

    private String gName;

    private BigDecimal gPrice;

    private String gUnit;

    private BigDecimal gCostprice;

    private BigDecimal gBugprice;

    private BigDecimal gSaleprice;

    private BigDecimal gWholeprice;

    private String gProperty;

    private String gMemo;

    public Integer getgId() {
        return gId;
    }

    public void setgId(Integer gId) {
        this.gId = gId;
    }

    public String getgName() {
        return gName;
    }

    public void setgName(String gName) {
        this.gName = gName == null ? null : gName.trim();
    }

    public BigDecimal getgPrice() {
        return gPrice;
    }

    public void setgPrice(BigDecimal gPrice) {
        this.gPrice = gPrice;
    }

    public String getgUnit() {
        return gUnit;
    }

    public void setgUnit(String gUnit) {
        this.gUnit = gUnit == null ? null : gUnit.trim();
    }

    public BigDecimal getgCostprice() {
        return gCostprice;
    }

    public void setgCostprice(BigDecimal gCostprice) {
        this.gCostprice = gCostprice;
    }

    public BigDecimal getgBugprice() {
        return gBugprice;
    }

    public void setgBugprice(BigDecimal gBugprice) {
        this.gBugprice = gBugprice;
    }

    public BigDecimal getgSaleprice() {
        return gSaleprice;
    }

    public void setgSaleprice(BigDecimal gSaleprice) {
        this.gSaleprice = gSaleprice;
    }

    public BigDecimal getgWholeprice() {
        return gWholeprice;
    }

    public void setgWholeprice(BigDecimal gWholeprice) {
        this.gWholeprice = gWholeprice;
    }

    public String getgProperty() {
        return gProperty;
    }

    public void setgProperty(String gProperty) {
        this.gProperty = gProperty == null ? null : gProperty.trim();
    }

    public String getgMemo() {
        return gMemo;
    }

    public void setgMemo(String gMemo) {
        this.gMemo = gMemo == null ? null : gMemo.trim();
    }
}